package com.zjitc.backend_shop.service;

import com.zjitc.backend_shop.pojo.User;

import java.util.List;

/**
 * @author 王新瑜
 * @date 2024/12/20 15:27
 */

public interface UserService {
    public User findUser(String username, String password);

    public boolean login(String username, String password);

    public boolean addUser(User user);

    public User findByUsername(String username);
    public List<User> findAllUser();
}
